home *** CD-ROM | disk | FTP | other *** search
/ Apple Macintosh Fundamentals / MacintoshFundamentals-v2-0.iso / MacFun 2.0 / MF Maint / MF Maint / background_55571.txt < prev    next >
Encoding:
Text File  |  1990-03-08  |  18.7 KB  |  831 lines

  1. -- background: 55571 from stack: in
  2. -- bmap block id: 55889
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: VideoList
  6. ----- HyperTalk script -----
  7. --++--++--++  VIDEO SCRIPTS - Version 8 --++--++--++
  8. on playScene sceneNumber
  9.   global gDiscSide, gPlayerOffset, gPlayerType
  10.   global gVideoFirstFrame, gVideoLastFrame
  11.   global gTimeRemaining
  12.   global gVideoLastCommand
  13.   put "play" into gVideoLastCommand
  14.   put char 1 of sceneNumber into newSide
  15.   if newSide <> gDiscSide then
  16.     swapSide newSide
  17.   end if
  18.   if gDiscSide is "none" then exit playScene -- user chose no video
  19.   checkVideoRunning
  20.   delete char 1 of sceneNumber
  21.   put line sceneNumber of fld "Start#" of cd "videoList" into startNum
  22.   put line sceneNumber of fld "Stop#" of cd "videoList" into stopNum
  23.   put line sceneNumber of fld "PlayWhat" of cd "videoList" into playWhat
  24.  
  25.   if gPlayerType = "ODR" then
  26.     add gPlayerOffset to startNum
  27.     if stopNum <> "-" then add gPlayerOffset to stopNum
  28.   end if
  29.  
  30.   turnStereoOff
  31.  
  32.   if (playWhat contains "A1" and playWhat contains "A2") then
  33.     turnStereoOn
  34.   else if playWhat contains "A1" then
  35.     turnAudioOn 1
  36.   else if playWhat contains "A2" then
  37.     turnAudioOn 2
  38.   end if
  39.  
  40.   searchVideo startNum
  41.   if playWhat contains "V" then
  42.     turnVideoOn
  43.   else
  44.     turnVideoOff
  45.   end if
  46.  
  47.   if stopNum <> "-" then
  48.     playVideo startNum,stopNum
  49.     -- create a controller
  50.     if ((stopNum - startNum) > 60) then
  51.       if not (playWhat contains "N") then makeVideoController
  52.       put lengthFrames(stopNum - startNum) into gTimeRemaining
  53.     else
  54.       put empty into gTimeRemaining
  55.     end if
  56.     put startNum into gVideoFirstFrame
  57.     put stopNum into gVideoLastFrame
  58.     set cursor to hand
  59.     --waitForMouseClick
  60.   end if
  61. end playScene
  62.  
  63. on introScene sceneNumber,numScreens
  64.   global gDiscSide, gPlayerOffset, gPlayerType
  65.   global gVideoLastCommand
  66.   put "Pause" into gVideoLastCommand
  67.   if gDiscSide is "none" then exit introScene -- user chose no video
  68.   put char 1 of sceneNumber into newSide
  69.   if newSide <> gDiscSide then
  70.     swapSide newSide
  71.   end if
  72.   if gDiscSide is "none" then exit introScene -- user chose no video
  73.   checkVideoRunning
  74.   delete char 1 of sceneNumber
  75.   put line sceneNumber of fld "Start#" of cd "videoList" into startNum
  76.  
  77.   if gPlayerType = "ODR" then
  78.     add gPlayerOffset to startNum
  79.   end if
  80.  
  81.   searchVideo startNum
  82.   turnVideoOn
  83.  
  84. end introScene
  85.  
  86. on swapSide newSide
  87.   global gDiscSide
  88.   if gDiscSide is "none" or gDiscSide is empty then -- initialize the player
  89.     put newSide into gDiscSide
  90.     startVideoDiscPlayer
  91.   end if
  92.   if gDiscSide is "none" then -- user chose no video
  93.     exit swapSide
  94.   end if
  95.   if checkDiscSide(newSide) then
  96.     put newSide into gDiscSide
  97.     --introScene (gDiscSide & (sideNumber(gDiscSide) + 1))
  98.   end if
  99. end swapSide
  100.  
  101. on checkVideoRunning
  102.   global gDiscSide
  103.   if gDiscSide = "none" then exit checkVideoRunning
  104.   set cursor to watch
  105.   get videostatus()
  106.   if it is "noAnswer" or it is "abort" then
  107.     wait 60 ticks
  108.     startVideoDiscPlayer
  109.   else if it contains "park" then
  110.     controlVideo reset,audio1on,pictureOn,framesOff
  111.   end if
  112. end checkVideoRunning
  113.  
  114. on startVideoDiscPlayer
  115.   global gVideodiscPlayer
  116.   if gVideoDiscPlayer is empty then  --this is here just for testers
  117.     put "Pioneer 4200" into gVideoDiscPlayer
  118.   end if
  119.   setVideoPlayer gVideodiscPlayer -- set the player to the stored global
  120.   set cursor to watch
  121.   get videoStatus()
  122.   if it is not "noAnswer" and it is not "abort" then
  123.     -- player is turned on.
  124.     controlVideo reset,audio1on,pictureOn,framesOff
  125.   else
  126.     -- didn't turn on. Tell them to try again or cancel the video.
  127.     if tryAgain() is false then
  128.       -- skip the video
  129.     else
  130.       get videoStatus()
  131.       if it is not "noAnswer" and it is not "abort" then
  132.         -- player is turned on.
  133.         controlVideo reset,audio1on,pictureOn,framesOff
  134.       else
  135.         put "You still haven't turned on the videodisc player."&& "The course will continue without video." into string
  136.         answer string with "OK"
  137.         setNoVideo
  138.         return false
  139.       end if
  140.     end if
  141.   end if
  142. end startVideoDiscPLayer
  143.  
  144. --/ warn that the video is not connected and give them the choice of
  145. --/ skipping it entirely
  146. function TryAgain
  147. global gVideoDiscPlayer
  148. put "Please connect the" && gVideodiscPlayer && "player. " into prompt
  149. put return & "Click ‚ÄúNo video‚Äù if you don‚Äôt plan to use the video." after prompt
  150. answer prompt with "No video" or "OK"
  151. if it is "OK" then
  152.   return true
  153. else
  154.   setNoVideo
  155.   return false
  156. end if
  157. end TryAgain
  158.  
  159. on setNoVideo
  160.   global gDiscSide
  161.   put "none" into gDiscSide
  162. end setNovideo
  163.  
  164. function lengthScene sceneNum
  165. global startNums, stopNums, loopNums
  166. put line sceneNum of stopNums into endFrame
  167. if item 1 of line sceneNum of loopNums <> "-" then
  168.   put item 1 of line sceneNum of loopNums into endFrame
  169. end if
  170. put (endFrame - (line sceneNum of startNums)) into numFrames
  171. return trunc(numFrames/30)+1
  172. end lengthScene
  173.  
  174. function lengthFrames numFrames
  175. return trunc(numFrames/30)+1
  176. end lengthFrames
  177.  
  178. function checkDiscSide wantSide
  179. put sideNumber(wantSide) into userWantSide
  180. get videoChapter()
  181. if it <> userWantSide then
  182.   controlVideo eject -- be helpful, eject the disc
  183.   put "Please insert Side" && userWantSide & ", then click OK." into string
  184.   answer string with "OK"
  185.   refresh
  186.  
  187.   controlVideo reset -- look again
  188.   wait 45 -- to see the side number
  189.   get videoChapter()
  190.   if it = userWantSide then
  191.     controlVideo reset
  192.     return "true"
  193.   else
  194.     controlVideo eject
  195.     put "Please insert Side" && userwantSide & " into the videodisc player, or click ‚ÄúNo video‚Äù"&& "to continue the course without video." into string
  196.     answer string with "No video" or "OK"
  197.     refresh
  198.     if it is "No video" then
  199.       setNoVideo
  200.       return false
  201.     else
  202.       controlVideo reset
  203.       get videoChapter()
  204.       if it = userWantSide then
  205.         controlVideo reset
  206.         return "true"
  207.       else
  208.         setNoVideo
  209.         put "You still haven‚Äôt inserted the right videodisc."&& "The course will continue without video." into string
  210.         answer string with OK
  211.         return false -- 2 tries is all they get
  212.       end if
  213.     end if
  214.   end if
  215. else
  216.   return true
  217. end if
  218. end checkDiscSide
  219.  
  220. function sideNumber sideName
  221. put charToNum(sideName) - charToNum("A") + 1 into temp
  222. return temp
  223. end sideNumber
  224.  
  225. on refresh -- for use with checkDiscside askdialogs
  226.   go this cd
  227.   unlock screen
  228.   lock screen
  229. end refresh
  230.  
  231. on gv
  232.   global gPlayerType
  233.   if gPlayerType = "ODR" then
  234.     openModemPort
  235.     chkOnLine
  236.   else
  237.     setVideoPlayer gPlayerType
  238.     controlvideo reset,audio1On,pictureOn,framesOff,baud4800
  239.   end if
  240. end gv
  241.  
  242. on initFrames
  243.   global gDiscSide, gPlayerOffset, gPlayerType
  244.   put fld "PlayerOffset" into gPlayerOffset
  245.   put fld "PlayerType" into gPlayerType
  246.   put fld "discSide" into gDiscSide
  247. end initFrames
  248.  
  249. on Cmd
  250.   global inframe,outframe,speed,etx,stx
  251.   put the param of 1 into cmd
  252.   IF  the PARAMCOUNT >1 THEN PUT the param of 2 & ":" after cmd
  253.   IF  the PARAMCOUNT >2 THEN PUT the param of 3 & ":" after cmd
  254.   sendsport (stx & cmd & etx & return)
  255. end cmd
  256.  
  257. on openModemPort
  258.   closeSport
  259.   ConfigureSPort modemport,baud600,stop10,data8,parityoff, xonoutoff,linefeedsoff,echooff,editoff,stripoff
  260. end openModemPort
  261.  
  262. on openPrinterPort
  263.   closeSport
  264.   ConfigureSPort  port2,baud600,stop10,data8,parityoff, xonoutoff,linefeedsoff,echooff,editoff,stripoff
  265. end openPrinterPort
  266.  
  267. on chkOnline
  268.   cmd "ON12:"
  269.   put empty into old
  270.   put recvUpTo(ETX,10,old) into temp
  271.   IF OFFSET ("ON",temp) > 0 THEN
  272.     exit chkOnline
  273.   else
  274.     answer "ODR is not responding - Check for RUN mode ON" with  "Cancel" or "Try Again"
  275.     if it is "Cancel" then exit chkOnline
  276.     else chkonline
  277.   end if
  278. end chkOnline
  279.  
  280. on playVideo startFrame,stopFrame
  281.   global gPlayerType
  282.   if gPlayerType = "ODR" then
  283.     cmd AC -- clear everything
  284.     cmd SR,startFrame -- search to the first
  285.     cmd PF,stopFrame -- play forward to the last
  286.   else
  287.     pass playVideo
  288.   end if
  289. end playVideo
  290.  
  291. on searchVideo startFrame
  292.   global gPlayerType
  293.   if gPlayerType = "ODR" then
  294.     cmd AC
  295.     cmd SR, startFrame
  296.   else
  297.     pass searchVideo
  298.   end if
  299. end searchVideo
  300.  
  301. on turnVideoOn
  302.   global gPlayerType
  303.   if gPlayerType is "ODR" then
  304.     cmd VS
  305.   else
  306.     controlVideo pictureOn
  307.   end if
  308. end turnVideoOn
  309.  
  310. on turnVideoOff
  311.   global gPlayerType, gDiscSide
  312.   if gDiscSide = "none" then exit turnVideoOff
  313.   if gPlayerType is "ODR" then
  314.     cmd VR
  315.   else
  316.     controlVideo pictureOff
  317.   end if
  318. end turnVideoOff
  319.  
  320. on turnAudioOn channel
  321.   global gPlayerType
  322.   if channel is empty then
  323.     if gPlayerType is "ODR" then
  324.       cmd AS
  325.     else
  326.       controlVideo audio1on,audio2on
  327.     end if
  328.   else
  329.     if gPlayerType is "ODR" then
  330.       put "A"&channel into temp
  331.       cmd temp,32000
  332.     else
  333.       put "audio"&channel&"on" into temp
  334.       controlVideo temp
  335.     end if
  336.   end if
  337. end turnAudioOn
  338.  
  339. on turnAudioOff channel
  340.   global gPlayerType
  341.   if channel is empty then
  342.     if gPlayerType is "ODR" then
  343.       cmd AR
  344.     else
  345.       controlVideo audioOff
  346.     end if
  347.   else
  348.     if gPlayerType is "ODR" then
  349.       put "A"&channel into temp
  350.       cmd temp
  351.     else
  352.       put "audio"&channel&"off" into temp
  353.       controlVideo temp
  354.     end if
  355.   end if
  356. end turnAudioOff
  357.  
  358. on turnStereoOn
  359.   controlVideo stereoOn
  360. end turnStereoOn
  361.  
  362. on turnStereoOff
  363.   controlVideo audiooff
  364. end turnStereoOff
  365.  
  366. on xy
  367.   repeat until the mouse is down
  368.     put the mouseloc
  369.   end repeat
  370. end xy
  371.  
  372. on updateScroll
  373.   global initScroll
  374.   repeat with i = 2 to 6
  375.     set the scroll of bkgnd field i to initscroll
  376.   end repeat
  377. end updateScroll
  378.  
  379. on tabKey
  380.   get the selectedLine
  381.   --put return after it
  382.   if value(it) = empty then
  383.     put "put ""e&"-""e&" into "&it into cmd
  384.     do cmd
  385.   end if
  386.   if word 6 of it = 6 then
  387.     put 3 into word 6 of it
  388.     add 1 to word 2 of it
  389.   else
  390.     add 1 to word 6 of it
  391.   end if
  392.   select it
  393. end tabKey
  394.  
  395. ---------copyright Apple Computer Inc 1989
  396.  
  397. function lenWait secs
  398. get char 7 to 8 of frameToTime(secs)
  399. return it+1
  400. end lenWait
  401.  
  402. -- interpreter
  403. function videoframe
  404. global gPlayerType
  405. if gPlayerType is "ODR" then
  406.   cmd "ON14:"
  407.   global framenum,etx
  408.   put empty into framenum
  409.   put empty into old
  410.   killsport in
  411.   cmd NO
  412.   put recvUpTo(ETX,4,old) into temp
  413.   get offset("NO",temp)
  414.   put char it + 2 to it + 6 of temp into framenum
  415.   put temp
  416.   -- if framenum is empty then beep
  417.   return framenum
  418. else
  419.   pass videoframe
  420. end if
  421. end videoframe
  422.  
  423. on scanVideo direction
  424.   global gPlayerType
  425.   if gPlayerType is "ODR" then
  426.     if direction is "backward" then
  427.       cmd CR
  428.     else cmd CF
  429.   else
  430.     pass scanVideo
  431.   end if
  432. end scanVideo
  433.  
  434. on stepVideo numberFrames, count
  435.   global gPlayerType
  436.   if gPlayerType is "ODR" then
  437.     -- goes the numberFrames at a time, count times
  438.     put cmd NO in currentFrame
  439.  
  440.     put currentFrame + numberFrames into finalFrame
  441.     if numberFrames is > 0 then
  442.       cmd TF,1,finalFrame -- step for 1 seconds
  443.     else
  444.       cmd TR,1,finalFrame
  445.     end if
  446.   else
  447.     pass stepVideo
  448.   end if
  449. end stepVideo
  450.  
  451. -- end interpreter
  452. --++--++--++  VIDEO SCRIPTS - Version 8 --++--++--++
  453.  
  454.  
  455.  
  456. -- part 1 (field)
  457. -- low flags: 01
  458. -- high flags: 0002
  459. -- rect: left=89 top=36 right=53 bottom=123
  460. -- title width / last selected line: 0
  461. -- icon id / first selected line: 0 / 0
  462. -- text alignment: 0
  463. -- font id: 241
  464. -- text size: 12
  465. -- style flags: 0
  466. -- line height: 16
  467. -- part name: PlayerOffset
  468.  
  469.  
  470. -- part 3 (field)
  471. -- low flags: 01
  472. -- high flags: 0007
  473. -- rect: left=10 top=89 right=332 bottom=67
  474. -- title width / last selected line: 0
  475. -- icon id / first selected line: 0 / 0
  476. -- text alignment: 0
  477. -- font id: 241
  478. -- text size: 12
  479. -- style flags: 0
  480. -- line height: 16
  481. -- part name: Number
  482. ----- HyperTalk script -----
  483. on mouseWithin
  484.   global initscroll
  485.   if the scroll of me <> initscroll then
  486.     put the scroll of me into initscroll
  487.     updateScroll
  488.   end if
  489. end mouseWithin
  490.  
  491. on mouseUp
  492.   get the rect of me
  493.   put item 2 of it into FieldPos
  494.   get the textHeight of me
  495.   put it into EachLine
  496.   get the mouseLoc
  497.   put item 2 of it into btnCenter
  498.   put the scroll of me into scrollValue
  499.   put trunc((btnCenter + EachLine + scrollValue - FieldPos)/EachLine) into ClickLine
  500.   get line clickLine of me
  501.   playScene it
  502. end mouseUp
  503.  
  504.  
  505. -- part 4 (field)
  506. -- low flags: 01
  507. -- high flags: 0007
  508. -- rect: left=50 top=89 right=332 bottom=123
  509. -- title width / last selected line: 0
  510. -- icon id / first selected line: 0 / 0
  511. -- text alignment: 0
  512. -- font id: 241
  513. -- text size: 12
  514. -- style flags: 0
  515. -- line height: 16
  516. -- part name: Start#
  517. ----- HyperTalk script -----
  518. on mouseWithin
  519.   global initscroll
  520.   if the scroll of me <> initscroll then
  521.     put the scroll of me into initscroll
  522.     updateScroll
  523.   end if
  524. end mouseWithin
  525.  
  526. on enterinfield
  527.   tabkey
  528. end enterinfield
  529.  
  530. on closefield
  531.   initframes
  532. end closefield
  533.  
  534.  
  535. -- part 5 (field)
  536. -- low flags: 01
  537. -- high flags: 0007
  538. -- rect: left=100 top=89 right=332 bottom=169
  539. -- title width / last selected line: 0
  540. -- icon id / first selected line: 0 / 0
  541. -- text alignment: 0
  542. -- font id: 241
  543. -- text size: 12
  544. -- style flags: 0
  545. -- line height: 16
  546. -- part name: Stop#
  547. ----- HyperTalk script -----
  548. on mouseWithin
  549.   global initscroll
  550.   if the scroll of me <> initscroll then
  551.     put the scroll of me into initscroll
  552.     updateScroll
  553.   end if
  554. end mouseWithin
  555.  
  556. on enterinfield
  557.   tabkey
  558. end enterinfield
  559.  
  560. on enterinfield
  561.   get the selectedline
  562.   put value(it)
  563.   put 3 into word 6 of it
  564.   add 1 to word 2 of it
  565.   select it
  566. end enterinfield
  567.  
  568.  
  569. -- part 6 (field)
  570. -- low flags: 01
  571. -- high flags: 0007
  572. -- rect: left=149 top=89 right=332 bottom=426
  573. -- title width / last selected line: 0
  574. -- icon id / first selected line: 0 / 0
  575. -- text alignment: 0
  576. -- font id: 241
  577. -- text size: 10
  578. -- style flags: 0
  579. -- line height: 16
  580. -- part name: Title
  581. ----- HyperTalk script -----
  582. on mouseWithin
  583.   global initscroll
  584.   if the scroll of me <> initscroll then
  585.     put the scroll of me into initscroll
  586.     updateScroll
  587.   end if
  588. end mouseWithin
  589.  
  590. on enterinfield
  591.   tabkey
  592. end enterinfield
  593.  
  594.  
  595. -- part 8 (field)
  596. -- low flags: 01
  597. -- high flags: 0007
  598. -- rect: left=407 top=89 right=332 bottom=471
  599. -- title width / last selected line: 0
  600. -- icon id / first selected line: 0 / 0
  601. -- text alignment: 0
  602. -- font id: 241
  603. -- text size: 10
  604. -- style flags: 0
  605. -- line height: 16
  606. -- part name: PlayWhat
  607. ----- HyperTalk script -----
  608. on mouseWithin
  609.   global initscroll
  610.   if the scroll of me <> initscroll then
  611.     put the scroll of me into initscroll
  612.     updateScroll
  613.   end if
  614. end mouseWithin
  615.  
  616.  
  617. -- part 9 (field)
  618. -- low flags: 01
  619. -- high flags: 0002
  620. -- rect: left=9 top=36 right=53 bottom=87
  621. -- title width / last selected line: 0
  622. -- icon id / first selected line: 0 / 0
  623. -- text alignment: 0
  624. -- font id: 241
  625. -- text size: 12
  626. -- style flags: 0
  627. -- line height: 16
  628. -- part name: PlayerType
  629. ----- HyperTalk script -----
  630. on mouseDown
  631.   global playerType
  632.   put "ODR;Pioneer 4200" into status
  633.   put "ODR,Pioneer 4200" into statusNames
  634.   put the mouseloc into myPlace
  635.   put item 1 of myPlace +(the left of cd window) into horiz
  636.   put item 2 of myPlace +(the top of cd window) into vert
  637.   put 0 into checkitem
  638.   if bg fld "PlayerType" contains "ODR" then put 1 into checkitem
  639.   if bg fld "PlayerType" contains "Pioneer 4200" then put 2 into checkitem
  640.   get PopUpMenu(status, checkitem, vert, horiz)
  641.   if it <> 0 then put item it of statusNames into bg fld "PlayerType"
  642.   put bg fld "PlayerType" into playerType
  643. end mouseDown
  644.  
  645.  
  646. -- part 17 (button)
  647. -- low flags: 80
  648. -- high flags: A004
  649. -- rect: left=7 top=22 right=40 bottom=100
  650. -- title width / last selected line: 0
  651. -- icon id / first selected line: 0 / 0
  652. -- text alignment: 1
  653. -- font id: 0
  654. -- text size: 12
  655. -- style flags: 0
  656. -- line height: 16
  657. -- part name: Get start
  658. ----- HyperTalk script -----
  659. on mouseUp
  660.   get videoFrame()
  661.   if it is not empty then
  662.     put return&it after fld "Start#"
  663.   end if
  664. end mouseUp
  665.  
  666.  
  667. -- part 19 (button)
  668. -- low flags: 80
  669. -- high flags: A004
  670. -- rect: left=7 top=41 right=59 bottom=100
  671. -- title width / last selected line: 0
  672. -- icon id / first selected line: 0 / 0
  673. -- text alignment: 1
  674. -- font id: 0
  675. -- text size: 12
  676. -- style flags: 0
  677. -- line height: 16
  678. -- part name: Get stop
  679. ----- HyperTalk script -----
  680. on mouseUp
  681.   get videoFrame()
  682.   if it is not empty then
  683.     put return&it after fld "Stop#"
  684.   end if
  685. end mouseUp
  686.  
  687.  
  688.  
  689. -- part 34 (field)
  690. -- low flags: 01
  691. -- high flags: 2000
  692. -- rect: left=0 top=0 right=35 bottom=512
  693. -- title width / last selected line: 0
  694. -- icon id / first selected line: 0 / 0
  695. -- text alignment: 0
  696. -- font id: 158
  697. -- text size: 24
  698. -- style flags: 10240
  699. -- line height: 24
  700. -- part name: Title
  701.  
  702.  
  703. -- part 25 (field)
  704. -- low flags: 01
  705. -- high flags: 2000
  706. -- rect: left=213 top=0 right=35 bottom=247
  707. -- title width / last selected line: 0
  708. -- icon id / first selected line: 0 / 0
  709. -- text alignment: 0
  710. -- font id: 158
  711. -- text size: 24
  712. -- style flags: 10240
  713. -- line height: 24
  714. -- part name: discSide
  715.  
  716.  
  717. -- part 26 (button)
  718. -- low flags: 80
  719. -- high flags: A004
  720. -- rect: left=108 top=41 right=58 bottom=169
  721. -- title width / last selected line: 0
  722. -- icon id / first selected line: 0 / 0
  723. -- text alignment: 1
  724. -- font id: 0
  725. -- text size: 12
  726. -- style flags: 0
  727. -- line height: 16
  728. -- part name: Erase
  729. ----- HyperTalk script -----
  730. on mouseUp
  731.   answer "Are you sure ?" with "Yes" or "No"
  732.   if it is "Yes" then
  733.     put empty into bg fld "Number"
  734.     put empty into bg fld "Start#"
  735.     put empty into bg fld "Stop#"
  736.     put empty into bg fld "Title"
  737.     put empty into bg fld "PlayWhat"
  738.   end if
  739. end mouseUp
  740.  
  741.  
  742.  
  743. -- part 33 (button)
  744. -- low flags: 00
  745. -- high flags: A002
  746. -- rect: left=9 top=56 right=71 bottom=75
  747. -- title width / last selected line: 0
  748. -- icon id / first selected line: 0 / 0
  749. -- text alignment: 1
  750. -- font id: 241
  751. -- text size: 12
  752. -- style flags: 0
  753. -- line height: 16
  754. -- part name: InitFrames
  755. ----- HyperTalk script -----
  756. on mouseUp
  757.   initframes
  758. end mouseUp
  759.  
  760.  
  761.  
  762. -- part 38 (field)
  763. -- low flags: 01
  764. -- high flags: 0000
  765. -- rect: left=458 top=8 right=32 bottom=512
  766. -- title width / last selected line: 0
  767. -- icon id / first selected line: 0 / 0
  768. -- text alignment: 65535
  769. -- font id: 241
  770. -- text size: 14
  771. -- style flags: 2048
  772. -- line height: 18
  773. -- part name: version
  774.  
  775.  
  776. -- part 41 (button)
  777. -- low flags: 00
  778. -- high flags: 2000
  779. -- rect: left=486 top=34 right=63 bottom=508
  780. -- title width / last selected line: 0
  781. -- icon id / first selected line: 0 / 0
  782. -- text alignment: 1
  783. -- font id: 0
  784. -- text size: 12
  785. -- style flags: 0
  786. -- line height: 16
  787. -- part name: options
  788. ----- HyperTalk script -----
  789. on mouseUp
  790.   options
  791. end mouseUp
  792.  
  793.  
  794.  
  795. -- part 42 (button)
  796. -- low flags: 00
  797. -- high flags: 2000
  798. -- rect: left=486 top=107 right=135 bottom=508
  799. -- title width / last selected line: 0
  800. -- icon id / first selected line: 0 / 0
  801. -- text alignment: 1
  802. -- font id: 0
  803. -- text size: 12
  804. -- style flags: 0
  805. -- line height: 16
  806. -- part name: panic
  807. ----- HyperTalk script -----
  808. on mouseUp
  809.   goPanic
  810. end mouseUp
  811.  
  812.  
  813.  
  814. -- part 43 (button)
  815. -- low flags: 00
  816. -- high flags: 2000
  817. -- rect: left=487 top=221 right=242 bottom=508
  818. -- title width / last selected line: 0
  819. -- icon id / first selected line: 0 / 0
  820. -- text alignment: 1
  821. -- font id: 0
  822. -- text size: 12
  823. -- style flags: 0
  824. -- line height: 16
  825. -- part name: up
  826. ----- HyperTalk script -----
  827. on mouseUp
  828.   goUp
  829. end mouseUp
  830.  
  831.